{{extend './_layouts/home.html'}}

{{block 'title'}}{{'交换生 - 首页'}}{{/block}}
{{block 'head'}}
<link href="/public/css/main.css" rel="stylesheet">
<style>
.col-md-offset-2 {
    margin-left: 16.66666667%;
    top: -220px
}
</style>
{{/block}}
{{block 'body'}}
<section class="container">
  <div class="container-fluid">
    <div class="row">
      <div class="col-sm-3 col-md-2 sidebar">
        <ul class="nav nav-sidebar">
          <li><a href="/">管理员<span class="sr-only">(current)</span></a></li>
          <li><a href="/">院校</a></li>
          <li class="active"><a href="/student?id={{ student._id }}">交换生</a></li>
          <li><a href="/">第三方评估</a></li>
          <li><a href="/">翻译机构</a></li>
        </ul>
      </div>
      <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">

        <h2 class="sub-header">交换生</h2>
        <a class="btn btn-success" href="/edit-student?id={{ student._id }}">修改个人信息</a>
        <a class="btn btn-success" href="/app-student?id={{ student._id }}">申请学校</a>
        <br/><br/>
        <div class="table-responsive">
            <table class="table">
              <tr><td>账号</td><td>{{ student.username}}</td></tr>
              <tr><td>姓名</td><td>{{ student.nickname}}</td></tr>
              <tr><td>年龄</td><td>{{ student.age}}</td></tr>
              <tr><td>性别</td><td>{{ student.sex}}</td></tr>
              <tr><td>地址</td><td>{{ student.address }}</td></tr>
              <tr><td>已申请学校</td><td>{{ student.application}}</td></tr>
              <tr><td>评估信息</td><td><textarea name="message" rows="5" cols="20">
                  {{ student.judge}}
                  </textarea></td></tr>
            </table>
          </div>
      </div>
    </div>
  </div>
  <nav aria-label="Page navigation">
    <ul class="pagination" style="margin-left: 200px">
      <li>
        <a href="#" aria-label="Previous">
        <span aria-hidden="true">&laquo;</span>
      </a>
      </li>
      <li class="active"><a href="#">1</a></li>
      <li><a href="#">2</a></li>
      <li><a href="#">3</a></li>
      <li><a href="#">4</a></li>
      <li><a href="#">5</a></li>
      <li>
        <a href="#" aria-label="Next">
        <span aria-hidden="true">&raquo;</span>
      </a>
      </li>
    </ul>
  </nav>
</section>
{{/block}}
